<!DOCTYPE html>
<html>
<head>
	<title>MUKEFILE首页</title>
	<#include "common/headFile.ftl"/>
</head>
<body>
	<div class="main">


		<#include "common/top.ftl"/>

		<div class="main-middle">

			<#include "common/leftMenu.ftl"/>

			<div class="main-middle-right">
				<div class="main-middle-right-top">
				   <div class="upload"><a href="upload">
					<button class="btn btn-primary" type="button">
						<i class="icon-cloud-upload"></i>文件上传</button></a>
				   </div>
				   <div class="file-search">
						
				   </div>
				</div>
				<div class="main-middle-right-top2">
					<span><a href="main"><i>我的磁盘</i></a></span>
					<i style="color:red;">${msg!}</i>
				</div>
				<div class="main-middle-right-content">
					<a href="mukeFile!showAllFile"><div class="mydisk">
						<div class="mydisk-title"><i>DISK(A):</i></div>
						<div class="mydisk-icon"><i class="icon-file-archive icon-3x"></i></div> 
						<div class="mydisk-size">
							<div class="progress" style="margin-bottom: 0;">
							 <div class="progress-bar" role="progressbar" aria-valuenow="70" aria-valuemin="0" 
							 	aria-valuemax="100" style="width:${user.diskAvail/user.diskSize/1024/1024*100}%">
							 </div>
							</div>
							<span class="disk-number">可用
								<#if user.diskAvail lt 1024>
									${user.diskAvail!}B
				  				<#elseif user.diskAvail lt 1024*1024>
					  				${(user.diskAvail/1024)?string('0.0')!}KB
								<#elseif user.diskAvail lt 1024*1024*1024>
									${(user.diskAvail/1024/1024)?string('0.0')!}MB
								</#if>,
								总共 ${user.diskSize!}MB
							</span>
						</div>
					</div></a>
				</div>
			</div>
		</div>

		<#include "common/bottom.ftl"/>
	</div>
</body>
</html>